package com.baizhi.feign;

import com.baizhi.entity.Admin;
import org.springframework.stereotype.Service;

@Service
public class TestFeignHystrix implements TestFeign {
    @Override
    public String getTestFeign(String name) {
        return "请求出错 请稍后再试";
    }

    @Override
    public Admin getTestAdmin(Admin admin) {
        return new Admin();
    }
}
